home *** CD-ROM | disk | FTP | other *** search
/ The Scorpion King Cardz / The Scorpion King Cardz - Disc 3 - Balthazar.iso / pc / assets / scorp_quit.dxr / 00001_startMovie.ls next >
Encoding:
Text File  |  2002-03-18  |  1.8 KB  |  53 lines

  1. on startMovie
  2.   global gProjWinName, gStageWidth, gStageHeight, gStageRect, gStageCenter, gScreenNum, gEcardSelected, gPrevMill, gGovTicks, gCardCountry, gNextScreen, gMenuNum, oDrawStage, oWallObjs, oOrbitCenter, oOrbitNodes, oRollText, oRollPanel, oExitButton, oBackButton, oStaticGlows, oTextAnim, oMusicButton, oVolBg, oVolMeter, oLetters, iCopyLayer, iBgLayer, iBlack, iBlackMask, oQuitLogo, oQuitText, gLogoSelected
  3.   dosSetFrontWindow(gProjWinName)
  4.   gStageWidth = 800
  5.   gStageHeight = 460
  6.   gStageRect = rect(0, 0, gStageWidth, gStageHeight)
  7.   gStageCenter = point(gStageWidth / 2, gStageHeight / 2)
  8.   gScreenNum = integer(line 1 of field "screenNum")
  9.   gEcardSelected = 0
  10.   gPrevMill = the milliSeconds
  11.   gGovTicks = 0
  12.   gCardCountry = line 1 of field "cardCountry"
  13.   gNextScreen = EMPTY
  14.   gMenuNum = EMPTY
  15.   oDrawStage = new(script("parent_drawStage"))
  16.   oWallObjs = []
  17.   oOrbitCenter = EMPTY
  18.   oOrbitNodes = []
  19.   oRollText = EMPTY
  20.   oRollPanel = EMPTY
  21.   oBackButton = EMPTY
  22.   oExitButton = EMPTY
  23.   oStaticGlows = []
  24.   oTextAnim = []
  25.   oMusicButton = EMPTY
  26.   oVolBg = EMPTY
  27.   oVolMeter = EMPTY
  28.   oLetters = []
  29.   create_oOrbitCenter()
  30.   create_oOrbitNodes()
  31.   create_oBackButton()
  32.   create_oExitButton()
  33.   create_oTextAnim()
  34.   create_oVolBg()
  35.   create_oVolMeter()
  36.   iCopyLayer = image(gStageWidth, gStageHeight, 24)
  37.   iCopyLayer.fill(gStageRect, rgb(0, 0, 0))
  38.   iBgLayer = member("bg_quit").image.duplicate()
  39.   iBlack = image(gStageWidth, gStageHeight, 24)
  40.   iBlack.fill(gStageRect, rgb(0, 0, 0))
  41.   iBlackMask = image(gStageWidth, gStageHeight, 24)
  42.   iBlackMask.fill(gStageRect, rgb(0, 0, 0))
  43.   set the mouseUpScript to "theMouseUp"
  44.   set the keyDownScript to "theKeyDown"
  45.   setUpAudio()
  46.   the timeOutList = []
  47.   oQuitLogo = EMPTY
  48.   oQuitText = EMPTY
  49.   gLogoSelected = 0
  50.   create_oQuitLogo()
  51.   create_oQuitText()
  52. end
  53.